package com.igeekhome.microservicecommon.feign;


import com.igeekhome.microservicecommon.pojo.User;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

//@Component
public class UserFeignServiceFallBack implements UserFeignService{
    @Override
    public User get(Long id) {
        return new User(id, "请求异常，请稍后再试", "默认用户", 0, new BigDecimal(1));
    }
}
